//
//  BaseViewController.swift
//  geekTime
//
//  Created by zhj on 2019/11/23.
//  Copyright © 2019 geekbang. All rights reserved.
//

import UIKit

class BaseViewController: UIViewController {
    var window: UIWindow?
    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        //设置背景颜色
        view.backgroundColor = UIColor.hexColor(0xedeeee)
        navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.hexColor(0x333333)]
        navigationController?.navigationBar.isTranslucent = false
        
        
    }

    /*
     // MARK: - Navigation

     // In a storyboard-based application, you will often want to do a little preparation before navigation
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
         // Get the new view controller using segue.destination.
         // Pass the selected object to the new view controller.
     }
     */
}
